package com.labichaoka.chaoka.entity;

import java.util.List;

/**
 * Created by ruan on 2018/8/14.
 */

public class MessageListResponse extends BaseResponse {


    /**
     * code : 1
     * data : [{"id":450,"pid":1470693,"createTime":"2018-08-14 11:15:55","channelSource":"1","msgType":2,"msgContent":{"messTime":1534216544816,"messTitle":"提现申请","messContent":"您的提现申请已经提交,提现金额5000.0元,请注意银行卡到账请款","messUrl":"/my/borrowing"}},{"id":392,"pid":1470693,"createTime":"2018-08-13 16:17:21","channelSource":"1","msgType":2,"msgContent":{"messTime":1534148248180,"messTitle":"您的提现邀请","messContent":"恭喜您，您的专属额度已激活，20000元现金等你拿，快来提现吧～","messUrl":"/withdrawal"}},{"id":390,"pid":1470693,"createTime":"2018-08-13 15:47:50","channelSource":"1","msgType":2,"msgContent":{"messTime":1534146476000,"messTitle":"很遗憾，您未能获取蜡笔超卡专属额度","messContent":"很遗憾，蜡笔超卡未能根据您的资料提供匹配的专属额度，您还可以尝试申请蜡笔超卡中钱KU的其他借贷产品～","messUrl":"/money-library"}},{"id":389,"pid":1470693,"createTime":"2018-08-13 15:47:48","channelSource":"1","msgType":2,"msgContent":{"messTime":1534146474000,"messTitle":"很遗憾，您未能获取蜡笔超卡专属额度","messContent":"很遗憾，蜡笔超卡未能根据您的资料提供匹配的专属额度，您还可以尝试申请蜡笔超卡中钱KU的其他借贷产品～","messUrl":"/money-library"}}]
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 450
         * pid : 1470693
         * createTime : 2018-08-14 11:15:55
         * channelSource : 1
         * msgType : 2
         * msgContent : {"messTime":1534216544816,"messTitle":"提现申请","messContent":"您的提现申请已经提交,提现金额5000.0元,请注意银行卡到账请款","messUrl":"/my/borrowing"}
         */

        private int id;
        private int pid;
        private String createTime;
        private String channelSource;
        private int msgType;
        private MsgContentBean msgContent;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getChannelSource() {
            return channelSource;
        }

        public void setChannelSource(String channelSource) {
            this.channelSource = channelSource;
        }

        public int getMsgType() {
            return msgType;
        }

        public void setMsgType(int msgType) {
            this.msgType = msgType;
        }

        public MsgContentBean getMsgContent() {
            return msgContent;
        }

        public void setMsgContent(MsgContentBean msgContent) {
            this.msgContent = msgContent;
        }

        public static class MsgContentBean {
            /**
             * messTime : 1534216544816
             * messTitle : 提现申请
             * messContent : 您的提现申请已经提交,提现金额5000.0元,请注意银行卡到账请款
             * messUrl : /my/borrowing
             */

            private long messTime;
            private String messTitle;
            private String messContent;
            private String messUrl;

            public long getMessTime() {
                return messTime;
            }

            public void setMessTime(long messTime) {
                this.messTime = messTime;
            }

            public String getMessTitle() {
                return messTitle;
            }

            public void setMessTitle(String messTitle) {
                this.messTitle = messTitle;
            }

            public String getMessContent() {
                return messContent;
            }

            public void setMessContent(String messContent) {
                this.messContent = messContent;
            }

            public String getMessUrl() {
                return messUrl;
            }

            public void setMessUrl(String messUrl) {
                this.messUrl = messUrl;
            }
        }
    }
}
